package com.ruoyi.web.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 运营商网关参数主表
 * </p>
 *
 * @author liuhl
 * @since 2024-04-12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("EW_SMS_GW_MAIN")
@ApiModel(value = "EwSmsGwMain对象", description = "运营商网关参数主表")
public class EwSmsGwMain extends Model<EwSmsGwMain> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("协议名称")
    @TableField("PROTOCOL_NAME")
    private String protocolName;

    @ApiModelProperty("协议编码")
    @TableField("PROTOCOL_CODE")
    private String protocolCode;

    @ApiModelProperty("运营商")
    @TableField("SERVICE_PROVIDER")
    private String serviceProvider;

    @ApiModelProperty("备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty("是否已删除(0-未删除，1-已删除)")
    @TableField("DELETED")
    private Integer deleted;

    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
